package com.example.myapplication;

import android.app.Application;

import com.example.myapplication.entity.User;

import java.util.ArrayList;
import java.util.List;

public class MyApplication extends Application {

    private static List<User> userList; // 暂时用List实现数据存储

    @Override
    public void onCreate() {
        super.onCreate();
        userList = new ArrayList<>();
    }

    public static List<User> getUserList() {
        return userList;
    }
}
